package com.piccolo.wrapper.client.component;

import com.piccolo.wrapper.client.component.Overlay.PShapeOverlay;

public class PShape extends PNode 
{
	/**
	 * Creates a new PShape with the specified style and boundaries.
	 * @param fillStyle
	 * @param bounds
	 */
	public PShape(Shape shape, String fillStyle, PBounds bounds)
	{
		this.overlay = PShapeOverlay.create(shape, fillStyle, bounds);
	}
	
	public PShape(Shape shape, String fillStyle, PBounds bounds, String text, String font)
	{
		this.overlay = PShapeOverlay.create(shape, fillStyle, bounds, text, font);
	}
	
	public enum Shape
	{
		CIRCLE, 
		TRIANGLE,
		ELLIPSE
	}
	
}
